import { request } from "../utils/request";
//get请求示例
export function getActiveInfo(params) {
  return request("/skip/active", params, "get");
}
export function getCurrentAct(params) {
  return request("/activity.framework/current", params, "get");
}

// 快捷登录更新用户头像  授权 =》/api/user/update.info "photoFileName": "string"
export function updateInfo(data) {
  return request("/user/update.info", data, "post");
}

//获取当前默认选中的活动
export function getCurrentFirst(params) {
  return request("/skip/active/first", params, "get");
}